<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:85:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\public/../application/index\view\cart\order.html";i:1530256390;s:76:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\application\index\view\common\head.html";i:1530085289;s:75:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\application\index\view\common\top.html";i:1529890695;s:76:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\application\index\view\common\foot.html";i:1531124263;}*/ ?>

<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>订单支付 - 胎大王</title>
	<meta charset="UTF-8">
	<meta name="baidu-site-verification" content="9VtZWv6p9u" />
<meta content="胎大王,轮胎直购网,卡车轮胎,真空胎购买,轮胎店加盟,载重轮胎,矿山胎,TDW,山东轮胎" name="Keywords">
<meta name="description" content="胎大王—卡客轮胎直购网
成立于2014年12月，注册资本5000万元，总部位于著名的轮胎之都山东广饶，是卡客轮胎细分市场国内唯一的互联网垂直服务平台
" />
<!-- reset -->
<link rel="stylesheet" href="/css/normalize.css">
<!-- 字体库 -->
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/pure-min.css">
<!-- wow.js -->
<link rel="stylesheet" href="/css/animate.min.css">
<!-- 通用样式 -->
<link rel="stylesheet" type="text/css" href="/css/styles.css">
<link rel="stylesheet" type="text/css" href="/css/motai.css">
<!-- jquery -->
<script src="/js/jquery-1.12.3.min.js"></script>
<script src="/js/modal.js"></script>
<!-- 顶部固定 -->
<script src="/js/stickUp.min.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?e2d8288cf7a602d26c80efa173f808b6";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<base target="_Self">
	<script src="/js/layer/layer.js"></script>
</head>
<body>
<div class="container">
<div class="head">
	<div class="contai">
		<div class="pure-g">
			<div class="pure-u-8-24"><p>胎大王产业供应链共享服务平台欢迎您！</p></div>
			<div class="pure-u-16-24 right">
				<style>
					.indexLogin{display:none;}
					.memberLogin{display:block;}
				</style>
				<div class="indexLogin">
					<p>您好，请<a href="/login.html"  target="_self">登录</a></p><p class="jiange"> &nbsp;</p>
					<p id="bus_wechat">
						<a href="javascript:;">企业微信</a><span><img src="/images/ewm-big.jpg"></span></p>

				</div>
				<div class="memberLogin">
					<p>您好，<span class="memberPhone"></span></p><p class="jiange"> &nbsp;</p>
					<p><a href="/member.html"  target="_self">个人中心</a><p class="jiange"> &nbsp;</p>
					<p><a href="/logout.html"  target="_self">退出登录</a></p>
				</div>

			</div>

		</div>
	</div>
</div>
<div class="nav">
	<div class="contai">
		<div class="pure-g">
			<div class="pure-u-3-24">
				<h1><a target="_self" href="/" title="胎大王"><img src="/images/logo.jpg" alt="胎大王"></a></h1>
			</div>
			<div class="pure-u-21-24">
				<div class="menu">
				        <?php 
                        if(empty($act))
                        {
                            $act = 1;
                        }
                         ?>
					<ul>
						<li><strong><a href="/"  <?php if($act=='index'): ?>class="active"<?php else: endif; ?> >首页</a></strong></li>
						<li><strong><a href="/notice.html"  <?php if($act=='notice'): ?>class="active"<?php else: endif; ?>>信息公告</a></strong></li>
						<li><strong><a href="/product.html"  <?php if($act=='product'): ?>class="active"<?php else: endif; ?>>产品列表</a></strong></li>
						<li><strong><a href="/News/index.html"  <?php if($act=='news'): ?>class="active"<?php else: endif; ?>>新闻资讯</a></strong></li>
						<li><strong><a href="/member.html"  <?php if($act=='member'): ?>class="active"<?php else: endif; ?>>个人中心</a></strong></li>
						<li><strong><a href="/merchants.html"  <?php if($act=='merchants'): ?>class="active"<?php else: endif; ?>>招商加盟</a></strong></li>
						<li class="cart"><a href="/cart.html" class="button-secondary pure-button"><i class="fa fa-shopping-cart"></i> 购物车详情</a>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

	<div class="order">
		<div class="order-banner"></div>
		<div class="contai">
			<span class="f-bk30"></span><span class="f-bk10"></span>
			<div class="order-tit">
				<strong>订单支付</strong>
			</div>
			<span class="f-bk30"></span>
			<div class="cart-con">
				<table class="table tab-b1">
					<tr>
						<td >·联系人：<span id="uname"><?php echo $data['consignee']; ?></span></td>
						<td >·联系电话：<span id="uphone"><?php echo $data['phone']; ?></span></td>
						<td>·配送方式：
						<select name="shippingMethods" id="shippingMethods">
						<?php if(is_array($data['shippingMethods']) || $data['shippingMethods'] instanceof \think\Collection || $data['shippingMethods'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['shippingMethods'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$shippingMethods): $mod = ($i % 2 );++$i;if($shippingMethods['id']==1): else: ?>
							<option value="<?php echo $shippingMethods['id']; ?>"><?php echo $shippingMethods['name']; ?></option>
						<?php endif; endforeach; endif; else: echo "" ;endif; ?>
						</select>
						</td>
						<td colspan="2"><button type="button" class="button-secondary pure-button order-edit" data-toggle="modal" data-target="#exampleModal" data-whatever="@mdo">更改信息</button></td></td>
					</tr>
					<tr>
						<td colspan="4">
							<div class="f-fl city">
								· 请选择地区：
								<select id="cmbProvince" name="cmbProvince">
									<option value="">请选择</option>
								</select>
								<select id="cmbCity" name="cmbCity" style="display:none;"></select>
								<select id="cmbArea" name="cmbArea" style="display:none;"></select>
								<input type="text" name="inputaddress" id="inputaddress" placeholder="请输入详细配送地址">
							</div>
						</td>

					</tr>
					<tr><td colspan="3"><span class="f-bk30"></span></td></tr>
				</table>

				<table id="cartTable" class="table tab-b2"  valign="middle">
					<?php if(empty($data['bonus']['items']) || (($data['bonus']['items'] instanceof \think\Collection || $data['bonus']['items'] instanceof \think\Paginator ) && $data['bonus']['items']->isEmpty())): else: ?>
					<tr>
						<th width="60%">产品名称</th>
						<th width="20%" class="f-textc">产品单价</th>
						<th width="20%">购买数量</th>
					</tr>
					<tr><td colspan="5"><div class="order-type"><span>订单类型：</span>&nbsp;分红式订单</div></td></tr>
					<?php if(is_array($data['bonus']['items']) || $data['bonus']['items'] instanceof \think\Collection || $data['bonus']['items'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['bonus']['items'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bonus): $mod = ($i % 2 );++$i;?>
					<tr>
						<td class="tit"><a href="/dividendDetail.html?id=<?php echo $bonus['id']; ?>"><img src="<?php echo $bonus['img']; ?>" alt="<?php echo $bonus['name']; ?>"></a><p><a href="/dividendDetail.html?id=<?php echo $bonus['id']; ?>"><?php echo $bonus['name']; ?></a></p><p>轮胎类型：<?php echo $bonus['productCategory']; ?></p></td>
						<td class="pices"><p>￥<?php echo $bonus['price']; ?></p></td>
						<td><b class="fun-color-main">X<?php echo $bonus['quantity']; ?></b></td>
					</tr>
					<?php endforeach; endif; else: echo "" ;endif; ?>
					<tr>
						<td colspan="6" class="cart-zq">&emsp; · 请选择周期：
						<?php if(is_array($data['bonus']['cycles']) || $data['bonus']['cycles'] instanceof \think\Collection || $data['bonus']['cycles'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['bonus']['cycles'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cycles): $mod = ($i % 2 );++$i;?>
							<label><input name="zq" type="radio" class="cycle" value="<?php echo $cycles; ?>" /> <?php echo $cycles; ?>天&emsp;</label>
						<?php endforeach; endif; else: echo "" ;endif; ?>
						</td>
					</tr>
					<?php endif; if(empty($data['deposit']['items']) || (($data['deposit']['items'] instanceof \think\Collection || $data['deposit']['items'] instanceof \think\Paginator ) && $data['deposit']['items']->isEmpty())): else: ?>
					<tr>
						<th width="60%">产品名称</th>
						<th width="20%" class="f-textc">产品单价</th>
						<th width="20%">购买数量</th>
					</tr>
					<tr><td colspan="5"><div class="order-type"><span>订单类型：</span>&nbsp;即时订单</div></td></tr>
					<?php if(is_array($data['deposit']['items']) || $data['deposit']['items'] instanceof \think\Collection || $data['deposit']['items'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['deposit']['items'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$deposit): $mod = ($i % 2 );++$i;?>
					<tr>
						<td class="tit"><a href="/depositDetail.html?id=<?php echo $deposit['id']; ?>"><img src="<?php echo $deposit['img']; ?>" alt="<?php echo $deposit['name']; ?>"></a><p><a href="/depositDetail.html?id=<?php echo $deposit['id']; ?>"><?php echo $deposit['name']; ?></a></p><p>轮胎类型：<?php echo $deposit['productCategory']; ?></p></td>
						<td class="pices"><p>￥<?php echo $deposit['price']; ?></p></td>
						<td><b class="fun-color-main">X<?php echo $deposit['quantity']; ?></b></td>
					</tr>
					<?php endforeach; endif; else: echo "" ;endif; endif; ?>

				</table>
				<form method="post" id="payForm">
					<div class="order-bottom">
						<div class="order-b1"></div>
						<div class="order-b2">
							<div class="pay f-fl">
							<?php if(is_array($data['paymentPlugins']) || $data['paymentPlugins'] instanceof \think\Collection || $data['paymentPlugins'] instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($data['paymentPlugins']) ? array_slice($data['paymentPlugins'],0,1, true) : $data['paymentPlugins']->slice(0,1, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pay): $mod = ($i % 2 );++$i;?>
								<label class="acts f-fl"><input type="radio" name="pay" value="<?php echo $pay['paymentPluginId']; ?>" checked> <i class="iconfont">&#xe7a1;</i> <?php echo $pay['paymentPluginName']; ?>&emsp;</label>
							<?php endforeach; endif; else: echo "" ;endif; if(is_array($data['paymentPlugins']) || $data['paymentPlugins'] instanceof \think\Collection || $data['paymentPlugins'] instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($data['paymentPlugins']) ? array_slice($data['paymentPlugins'],1,null, true) : $data['paymentPlugins']->slice(1,null, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pay): $mod = ($i % 2 );++$i;?>
								<label class="f-fl"><input type="radio" name="pay" value="<?php echo $pay['paymentPluginId']; ?>"> <i class="iconfont">&#xe7a1;</i> <?php echo $pay['paymentPluginName']; ?>(<?php echo $data['balance']; ?>)&emsp;</label>
							<?php endforeach; endif; else: echo "" ;endif; ?>							
							</div>
							<div class="f-bk10"></div>
							<div class="f-fr"><button type="button" id="payButtom"  class="button-red pure-button">立即支付</button></div>

							<div class="f-fr jine">应付总金额：<span id="amount">￥<?php echo $data['amount']; ?></span></div>
							<div class="f-fr jine">运费（到付）：<span id="freight">￥0</span></div>
							<div class="f-fr jine">分红金额：<span id="discount">￥0</span></div>
							<div class="f-fr jine">商品总价：<span id="amounts">￥<?php echo $data['amount']; ?></span></div>
							<input type="hidden" name="freight" id="freight-h"  value="0"/>
							<input type="hidden" name="discount" id="discount-h"  value="0"/>
							<input type="hidden" name="amount" id="amount-h"  value="<?php echo $data['amount']; ?>"/>
						</div>
						<div class="order-b2"><div class="f-fr">以上运费仅供参考，以实际配送运费为准！</div></div>
						<span class="f-bk20"></span>
					</div>
					<input type="hidden" name="phone" id="phone"  value="<?php echo $data['phone']; ?>"/>
					<input type="hidden" name="consignee" id="consignee"  value="<?php echo $data['consignee']; ?>"/>
					<input type="hidden" name="balance" id="balance"  value="<?php echo $data['balance']; ?>"/>
					<input type="hidden" name="areaId"  id="areaId" value="" />
					<input type="hidden" name="cycle"  id="cycle" value="" />

				</form>
				<span class="f-bk20"></span>
			</div>
			<span class="f-bk20"></span>
		</div>
	</div>
	<div class="footer">
	<div class="contai">

		<div class="pure-g help">

			<div class="pure-u-1-5">
				<dl>
					<dt>购胎指南</dt>
					<dd><a href="/article/10/352.html">购物流程</a></dd>
					<dd><a href="/article/10/345.html">发票制度</a></dd>
					<dd><a href="/article/10/351.html">账号管理</a></dd>
				</dl>
			</div>
			<div class="pure-u-1-5">
				<dl>
					<dt>支付方式</dt>
					<dd><a href="/article/4/354.html">网银支付</a></dd>
					<dd><a href="/article/4/355.html">线下转账</a></dd>
				</dl>
			</div>
			<div class="pure-u-1-5">
				<dl>
					<dt>提货方式</dt>
					<dd><a href="/article/12/344.html">德邦托运</a></dd>
					<dd><a href="/article/12/343.html">仓库自提</a></dd>
					<dd><a href="/article/12/356.html">公司配车</a></dd>
				</dl>
			</div>

			<div class="pure-u-1-5">
				<dl>
					<dt>售后服务</dt>
					<dd><a href="/article/6/341.html">三包售后政策</a></dd>
					<dd><a href="/article/6/342.html">售后热线</a></dd>
					<dd><a href="/article/6/350.html">处理流程</a></dd>
				</dl>
			</div>

			<div class="ewm"></div>
		</div>
	<div class="about">
		<div>
			<span><a href="/article/7/348.html">公司简介</a></span><p class="jgs"> &nbsp;</p>
			<span><a href="/article/7/349.html">诚聘英才</a></span><p class="jgs"> &nbsp;</p>
			<span><a href="/article/7/353.html">联系我们</a></span>
		</div>
		<div>

			<span><a style="color:#fff" href="http://icp.chinaz.com/info?q=tdw360.com" target="_blank">鲁ICP备14034560号-1</a></span><p class="jgs"> &nbsp;</p>
			<span>
		 		<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=37052302000157" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
				<img src="/img/gonganbeian.png" style="float:left;"/>
				<p style="float:left;height:20px;line-height:20px;margin: 5px 0px 0px 5px; color:#fff;">鲁公网安备 37052302000157号</p >
				</a>
		 	</span><p class="jgs"> &nbsp;</p>
			<span><a style="color:#fff" href="/img/yingyezhizhao.jpg" target="_blank">营业执照</a></span><p class="jgs"> &nbsp;</p>
			<span><a style="color:#fff" href="/img/IDC.jpg" target="_blank">电信增值业务许可证</a></span>
		</div>
	</div>
	<div class="f-bk20"></div>
	</div>
</div>
<div class="copy">
<div  class="contai">
	<div>
		<img src="/images/copy1.png" alt="支付宝">
		<img src="/images/copy2.png" alt="山东工商">
		<img src="/images/copy3.png" alt="可信网站身份验证">
		<img src="/images/copy4.png" alt="平安银行">
		<img src="/images/copy5.png" alt="网警网络110">
		<img src="/images/copy6.png" alt="银联特约商户">
	</div>
	<div style="text-align:right;">
		<span>Copyright© 胎大王信息科技有限公司 2014-2064，All Rights Reserved</span>
	</div>
</div>
</div>
<script src="/js/wow.min.js"></script>
<script src="/js/public.js"></script>
<!--[if lt IE 9]>
    <script src="../js/html5shiv.min.js"></script>
    <script src="../js/respond.min.js"></script>
    <script src="../js/DOMAssistant-2.8.1.js"></script>
    <script src="../js/ie-css3.js"></script>
<![endif]-->

</div>
<script src="/js/jquery.cookie.js"></script>
<script>
$(function(){
	var userInfo = $.cookie('userInfo');
	if(userInfo!=null){
		$(".indexLogin").css("display","none");
		$(".memberLogin").css("display","block");
		var str = userInfo.replace(/^think:/,'');
		userInfo = JSON.parse(str);
		//console.log(JSON.parse(str));
		$(".memberLogin .memberPhone").text(userInfo['username']);
	}else{
		$(".indexLogin").css("display","block");
		$(".memberLogin").css("display","none");
	}

});
</script>
<script type="text/javascript">
	$('#bus_wechat').hover(function(){$(this).find('span').css('display','inline-block')},function(){$(this).find('span').css('display','none')})
</script>	
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">

  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="btn-info modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="exampleModalLabel">修改信息</h4>
      </div>
      <div class="modal-body">
        <form class="form-horizontal" role="form">
          <div class="form-group">
            <label for="recipient-name" class="control-label">&emsp;联系人:</label>
            <input type="text" class="form-control well" id="modal-name">
          </div>
          <div class="form-group">
            <label for="message-text" class="control-label">联系电话:</label>
            <input type="text" class="form-control well" id="modal-phone">
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary modal-submit">修改</button>
      </div>
    </div>
  </div>
</div>
</div>
<div style="display:none">
<form method="post" action=""  id="payFormRes">
<input type="hidden" name="orig" />
<input type="hidden" name= "sign" />
<input type="hidden" name= "returnurl" />
<input type="hidden" name= "NOTIFYURL" /> 
</form>	
</div>
<script>
$(function(){
	$(".cart-zq label").click(function(){
		$(".cart-zq label").eq($(this).index()).addClass("act").siblings().removeClass('act');
	});
	$('.order .pay label').click(function(){
		$(this).addClass('acts').siblings().removeClass('acts');
	});
	//页面层
	
});
</script>
<script type="text/javascript" src="/js/order-check-min.js"></script>
</body>
</html>